package com.collage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

@Data
public class Activities {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 活动名称
     */
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    /**
     * 团长id
     */
    private String uid;
    private String tid;
    private String teamName;
    /**
     * 个人所需团费
     */
    private BigDecimal money;
    /**
     * 最低人数
     */
    private Integer perNum;
    /**
     * '待开始，进行中，已结束'
     */
    private String status;
    /**
     * 活动报告
     */
    private String context;
}